﻿using System.Linq;

namespace EmployeesManagerDataAccessContracts
{
    public interface IRepository<T> where T : class
    {
        #region Properties
        IQueryable<T> Entities { get; set; }
        #endregion

        #region Methods
        bool Save(T entity);
        bool Delete(int id);
        #endregion    
    }
}